import request from "@/common/untils/request.js"

// 标签列表
export function getLabelList(data){
  return request({
    url: "/data/api-v/label/list",
    method: "post",
    data
  })
}
// 添加标签
export function addLabel(data){
  return request({
    url: "/data/api-v/label/add",
    method: "post",
    data
  })
}
// 编辑标签
export function updateLabel(data){
  return request({
    url: "/data/api-v/label/modify",
    method: "post",
    data
  })
}
// 标签启用，禁用
export function updateStatus(data){
  return request({
    url: "/data/api-v/label/status",
    method: "post",
    data
  })
}